//
//  MeatMeHeader.h
//  PigMarket
//
//  Created by 张敬 on 2019/8/3.
//  Copyright © 2019年 pigmarket.oc. All rights reserved.
//

#import "BaseView.h"
#import "UserDetailInfo.h"


NS_ASSUME_NONNULL_BEGIN

typedef NS_ENUM(NSInteger, MeatMeHeaderType)
{
    MeatMeHeaderType_Login,   //已登陆
    MeatMeHeaderType_None     //未登陆
};

@interface MeatMeHeader : BaseView


/**
 个人信息block
 */
@property (nonatomic, copy) dealGeneralOperation dealUserInformationBlock;


/**
 设置block
 */
@property (nonatomic, copy) dealGeneralOperation dealSetUpBlock;


/**
 消息block
 */
@property (nonatomic, copy) dealGeneralOperation dealMessageBlock;



/**
 登录/注册
 */
@property (nonatomic, copy) dealGeneralOperation dealRegistLoginBlock;


/**
 申请成为服务商
 */
@property (nonatomic, copy) dealGeneralOperation dealServiceBlock;



/**
 type
 */
@property (nonatomic, assign) MeatMeHeaderType type;


@property (nonatomic, strong) UserDetailInfo *item;


@end

NS_ASSUME_NONNULL_END
